#include <chrono>

//获取系统当前时间戳（秒）
double timestampNow() {
	auto now = std::chrono::system_clock::now();
	auto timestamp = std::chrono::duration_cast<std::chrono::seconds>(now.time_since_epoch()).count();
	return timestamp;
}